package com.rerun.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.rerun.entity.ChatRecords;
import com.rerun.vo.memberUser.ChatRecordsSearchVo;
import com.rerun.vo.memberUser.ChatRecordsVo;
import com.rerun.vo.park.ParkResumeViewVo;

public interface ChatRecordsMapper extends BaseMapper<ChatRecords>{

	List<ChatRecordsVo> selectRecordsListPage(ChatRecordsSearchVo chatRecords, Page<ChatRecordsVo> page);

	List<ChatRecordsVo> selectUserRecordsListPage(ChatRecordsSearchVo chatRecords, Page<ChatRecordsVo> page);

	List<ChatRecordsVo> selectParkRecordsListPage(ChatRecordsSearchVo chatRecords, Page<ChatRecordsVo> page);

	List<ParkResumeViewVo> selectParkResumeListPage(@Param(value = "parkId") String parkId, Page<ParkResumeViewVo> page);
}
